﻿//======================================================================
//
//        Copyright (C) 苏州逸仙软件    
//        All rights reserved
//
//        filename : testMenu_E.cs
//        description :
//
//        created by 周济 at 2010/12/12 14:08:11
//        mail:80406241@qq.com
//
//======================================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace huaguwang.hgmanage.test
{
    public partial class testMenu_E : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            var dal = new D_T_Experience();
            var sss = dal.GetModel(1);

            WebUserToolBar1.EditInit(
              UserConst.Exp_GetUser,
              UserConst.Exp_GetButtonList,
              (i, but) =>
              {
                  switch(i)
                  {
                      //case 1:
                      //    but.Attributes.Add("onclick", "return GetUpdateCheckDefault();");
                      //    break;
                      //case 2:
                      //    but.Attributes.Add("onclick", "return GetDelCheckDefault();");
                      //    break;
                      default:
                          break;
                  }

              },
             UserConst.Exp_ToolBarErr
            );
        }

        protected void WebUserToolBar1_Button0(object sender, EventArgs e)
        {
            var sky = this.WebUserToolBar1.EditSKey;
            Response.Redirect("testMenu.aspx?" + sky);
        }
    }
}
